package wfw.cn.ktc_friend.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import wfw.cn.ktc_friend.entity.Friend;

/**
 * @Description tb_friend 数据访问接口
 * @date 2020-10-16 16:33:25
*/
public interface FriendDao extends JpaRepository<Friend,String>,JpaSpecificationExecutor<Friend>{

    void deleteByUserid(String id);

    Friend findByUserid(String id);
}

